/*
 * @# UserCircles.java 2011-12-22 上午10:59:36
 * 
 * Copyright (C) 2010 - 2011 广州羿安信息科技有限公司
 * Guangzhou ianswer information technology co. ltd.
 * 
 * All rights reserved!
 */
package com.ianswer.px.user.entity;

/**
 * @author pananz
 */

public class Circle {

	private Long id;
	//创建人
	private Long userId;
	//圈子名称
	private String circleName;
	//创建时间
	private Long createdAt;

	private boolean check;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public String getCircleName() {
		return circleName;
	}

	public void setCircleName(String circleName) {
		this.circleName = circleName;
	}

	public Long getCreatedAt() {
		return createdAt;
	}

	public void setCreatedAt(Long createdAt) {
		this.createdAt = createdAt;
	}

	public boolean isCheck() {
		return check;
	}

	public void setCheck(boolean check) {
		this.check = check;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj) {
			return true;
		}
		if (Circle.class == obj.getClass()) {
			Circle circle = (Circle) obj;
			return circle.id.equals(id);
		}
		return false;
	}

}
